package com.snail.readyvr.mvp.contract;

import com.snail.readyvr.mvp.model.LoginParam;
import com.snail.readyvr.mvp.presenter.BasePresenter;
import com.snail.readyvr.mvp.view.BaseView;

/**
 * Created by MRKING on 2016/10/10.
 */

public interface LoginActivityContract {

    interface View extends BaseView<Presenter> {

        /*void getTokenSuceess(GetTokenResponse response);
        void getTokenFaile(Throwable e);*/
       void loginSuccess();

    }


    interface Presenter extends BasePresenter {
        //void getToken();
        void login(int from,LoginParam param);
        void getSessionId(int from);
    }
}
